/*
	Adobe Systems Incorporated(r) Source Code License Agreement
	Copyright(c) 2005 Adobe Systems Incorporated. All rights reserved.
	
	Please read this Source Code License Agreement carefully before using
	the source code.
	
	Adobe Systems Incorporated grants to you a perpetual, worldwide, non-exclusive, 
	no-charge, royalty-free, irrevocable copyright license, to reproduce,
	prepare derivative works of, publicly display, publicly perform, and
	distribute this source code and such derivative works in source or 
	object code form without any attribution requirements.  
	
	The name "Adobe Systems Incorporated" must not be used to endorse or promote products
	derived from the source code without prior written permission.
	
	You agree to indemnify, hold harmless and defend Adobe Systems Incorporated from and
	against any loss, damage, claims or lawsuits, including attorney's 
	fees that arise or result from your use or distribution of the source 
	code.
	
	THIS SOURCE CODE IS PROVIDED "AS IS" AND "WITH ALL FAULTS", WITHOUT 
	ANY TECHNICAL SUPPORT OR ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
	BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
	FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  ALSO, THERE IS NO WARRANTY OF 
	NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT.  IN NO EVENT SHALL MACROMEDIA
	OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
	EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
	PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
	OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
	WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
	OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOURCE CODE, EVEN IF
	ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package com.adobe.webapis.mappr
{
	import com.adobe.webapis.mappr.Place;
	import com.adobe.webapis.mappr.Match;
	import com.adobe.webapis.mappr.Projected;
	import com.adobe.webapis.mappr.Owner;
	
	
	/**
	*	Class that represents a photo within the Mappr API
	* 
	* 	@langversion ActionScript 3.0
	*	@playerversion Flash 8.5
	*	@tiptext
	* 
	* 	@author Mike Chambers, Adobe Systems Incorporated
	* 
	* 	@see http://www.mappr.com/about/api.phtml	
	*/		
	public class Photo
	{
		private var _id:String;
		private var _thumbnail:String;
		private var _date:Date;
		private var _link:String;
		private var _place:Place
		private var _match:Match;
		private var _projected:Projected;
		private var _owner:Owner;
		private var _tags:Array;
		
		/**
		* 	Creates an instance of the Photo class.
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function Photo()
		{
		}
		
		/**
		*	An Array of tags that describe the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get tags():Array
		{
			return _tags;
		}		
		
		public function set tags(value:Array):void
		{
			_tags = value;
		}
		
		/**
		* 	The id for the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get id():String
		{
			return _id;
		}		
		
		public function set id(value:String):void
		{
			_id = value;
		}
		
		/**
		* 	A URL linking to a thumbnail for the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get thumbnail():String
		{
			return _thumbnail;
		}
				
		public function set thumbnail(value:String):void
		{
			_thumbnail = value;
		}
		
		/**
		* 	A date associated with the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get date():Date
		{
			return _date;
		}		
		
		public function set date(value:Date):void
		{
			_date = value;
		}
		
		/**
		* 	A url pointing to the image
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get link():String
		{
			return _link;
		}		
		
		public function set link(value:String):void
		{
			_link = value;
		}	
		
		/**
		* 	A Place associated with the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get place():Place
		{
			return _place;
		}		
		
		public function set place(value:Place):void
		{
			_place = value;
		}
		
		/**
		* 	A Match associated with the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get match():Match
		{
			return _match;
		}		
		
		public function set match(value:Match):void
		{
			_match = value;
		}	
		
		/**
		* 	A Projected class associated with the photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/
		public function get projected():Projected
		{
			return _projected;
		}		
		
		public function set projected(value:Projected):void
		{
			_projected = value;
		}
		
		/**
		* 	The Owner associated with the Photo
		* 
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 8.5
		*	@tiptext
		*/		
		public function get owner():Owner
		{
			return _owner;
		}		
		
		public function set owner(value:Owner):void
		{
			_owner = value;
		}												
	}
}